.class final Lcom/ninesky/browser/readinglist/g;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field private synthetic a:Lcom/ninesky/browser/readinglist/ReadingListActivity;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/readinglist/ReadingListActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/readinglist/g;->a:Lcom/ninesky/browser/readinglist/ReadingListActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 6

    iget-object v2, p0, Lcom/ninesky/browser/readinglist/g;->a:Lcom/ninesky/browser/readinglist/ReadingListActivity;

    move-object v0, p2

    check-cast v0, Lcom/ninesky/browser/readinglist/j;

    move-object v1, v0

    invoke-virtual {v1}, Lcom/ninesky/browser/readinglist/j;->c()Ljava/lang/String;

    move-result-object v1

    new-instance v3, Landroid/content/Intent;

    invoke-direct {v3}, Landroid/content/Intent;-><init>()V

    new-instance v4, Landroid/os/Bundle;

    invoke-direct {v4}, Landroid/os/Bundle;-><init>()V

    const-string v5, "url"

    invoke-virtual {v4, v5, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v3, v4}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    const/4 v1, -0x1

    invoke-virtual {v2, v1, v3}, Lcom/ninesky/browser/readinglist/ReadingListActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {v2}, Lcom/ninesky/browser/readinglist/ReadingListActivity;->finish()V

    new-instance v1, Lcom/ninesky/browser/readinglist/i;

    iget-object v2, p0, Lcom/ninesky/browser/readinglist/g;->a:Lcom/ninesky/browser/readinglist/ReadingListActivity;

    invoke-direct {v1, v2}, Lcom/ninesky/browser/readinglist/i;-><init>(Landroid/content/Context;)V

    check-cast p2, Lcom/ninesky/browser/readinglist/j;

    invoke-virtual {p2}, Lcom/ninesky/browser/readinglist/j;->getId()I

    move-result v2

    invoke-virtual {v1, v2}, Lcom/ninesky/browser/readinglist/i;->a(I)V

    iget-object v1, p0, Lcom/ninesky/browser/readinglist/g;->a:Lcom/ninesky/browser/readinglist/ReadingListActivity;

    const-string v2, "ReadingList"

    const-string v3, "LoadUrl"

    invoke-static {v1, v2, v3}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
